From: Jim Blandy Date: Fri, 21 May 1993 21:33:34 +0000 (+0000) Subject: * configure.in: Remove the hack of AC_DEFINE; use X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96122 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9361e005050afaab6f739a62f0933b0e9b615dbb;p=emacs.git * configure.in: Remove the hack of AC_DEFINE; use AC_DEFINE_UNQUOTED. --- diff --git a/configure1.in b/configure1.in index 8d9f34c2fdf..681a75f71e4 100755 --- a/configure1.in +++ b/configure1.in @@ -1016,19 +1016,11 @@ AC_SUBST(LD_SWITCH_X_SITE) AC_SUBST(C_SWITCH_X_SITE) AC_SUBST(CFLAGS) -dnl This is hopefully a temporary hack. In autoconf version 1.3, -dnl the second argument to AC_DEFINE is quoted in every which way, -dnl so (as far as I can tell) there's no way to compute the value -dnl the CPP macro should receive. We cripple that quoting for a -dnl bit, invoke AC_DEFINE, and then uncripple it. - -pushdef([AC_DEFINE_SEDQUOTE],[$1]) -AC_DEFINE(config_machfile, "\"${machfile}\"") -AC_DEFINE(config_opsysfile, "\"${opsysfile}\"") -popdef([AC_DEFINE_SEDQUOTE]) - -AC_DEFINE(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) -AC_DEFINE(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE}) +AC_DEFINE_UNQUOTED(config_machfile, "\"${machfile}\"") +AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"") +AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) +AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE}) + [ if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then ] AC_DEFINE(HAVE_X_WINDOWS) [